home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 9235 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.3 KB

  1. Path: newshost.lanl.gov!tanmoy
  2. From: tanmoy@qcd.lanl.gov (Tanmoy Bhattacharya)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: Why doesn't this work?
  5. Date: 08 Mar 1996 01:12:35 GMT
  6. Organization: Los Alamos National Laboratory
  7. Message-ID: <TANMOY.96Mar7181235@qcd.lanl.gov>
  8. References: <1996Mar4.161412.137442@forest> <4hnq6u$2t3@umbc9.umbc.edu>
  9. NNTP-Posting-Host: qcd.lanl.gov
  10. Mime-Version: 1.0
  11. Content-Type: text
  12. In-reply-to: schlein@umbc.edu's message of 7 Mar 1996 18:07:10 -0500
  13.  
  14. In article <4hnq6u$2t3@umbc9.umbc.edu>
  15. schlein@umbc.edu (Jonas J. Schlein) writes:
  16.  
  17. JJS: It's customary to #include <stdio.h> when using printf().
  18.  
  19. It is actually required by the standard (unless printf is otherwise
  20. declared correctly).
  21.  
  22. JJS: |>     fflush(stdout);
  23. JJS: 
  24. JJS: Same thing with fflush() and stdout!
  25.  
  26. Here of course lack of declaration will lead to compiler diagnostic.
  27.  
  28. Cheers
  29. Tanmoy
  30. --
  31. tanmoy@qcd.lanl.gov(128.165.23.46) DECNET: BETA::"tanmoy@lanl.gov"(1.218=1242)
  32. Tanmoy Bhattacharya O:T-8(MS B285)LANL,NM87545 H:#9,3000,Trinity Drive,NM87544
  33. Others see <gopher://yaleinfo.yale.edu:7700/00/Internet-People/internet-mail>,
  34. <http://alpha.acast.nova.edu/cgi-bin/inmgq.pl>or<ftp://csd4.csd.uwm.edu/pub/
  35. internetwork-mail-guide>. -- <http://nqcd.lanl.gov/people/tanmoy/tanmoy.html>
  36. fax: 1 (505) 665 3003   voice: 1 (505) 665 4733    [ Home: 1 (505) 662 5596 ]
  37.